<template>
    <div class="Small">
      <header>
        <p><router-link to="/Friends"><img src="../../static/img/transfer/contact_06.jpg">朋友</router-link></p>
        <p>小程序</p>
      </header>
      <main>
      <div class="h-input">
        <span class="h-span"></span>
        <img src="../../static/img/select_03.jpg" alt="" class="h-img" />
        <input type="text" name="color"  placeholder="搜索">
      </div>
      </main>
      <section>
        <img src="../../static/img/applet_03.jpg" alt="">
        <span>ofo小黄车</span>
      </section>
      <p class="more">----------搜索更多服务---------</p>
    </div>
</template>

<script>
    export default {
        name: "Small"
    }
</script>

<style scoped>
  header{
    display: flex;
    font-size: 1rem;
    padding: .8rem;
    background: #fff;
    margin-bottom: 1rem;
  }
  header p:nth-child(1){
    width: 43%;
  }
  header p:nth-child(1) a{
    color: #108ee9;
  }
  header p:nth-child(1) img{
    width: .9rem;
    height: 1.3rem;
    margin-right: .3rem;
  }
  header p:nth-child(2){
    width: 57%;
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
  }
  main{
    background: #ddd;
    text-align: center;
    padding: .6rem 0;
  }
  .h-input{
    margin: 0 auto;
    width: 94%;
    display: flex;
    border-radius: 0.2rem;
    background:white;
    padding: 0.4rem 0;
  }
  .h-input input{
    width: 70%;
    background:white;
    border: none;
    outline: none;
    font-size: 0.8rem;
    text-indent: 10rem;
  }
  ::-webkit-input-placeholder{
    color: #999;
    opacity: 0.6;
  }
  .h-img{
    position: absolute;
    left: 9rem;
    width: 1.2rem;
    height: 1.2rem;
  }
  section{
    background: white;
    display: flex;
    align-items: center;
    padding: .8rem;
  }
  section img{
    width: 3.5rem;
    height: 3.5rem;
    margin-right: .5rem;
  }
  section span{
    font-size: 1.1rem;
    font-weight: bold;
  }
  .more{
    padding: 1rem;
    font-size: .8rem;
    color: #a1a1a1;
    text-align: center;
  }
</style>
